﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

/// <summary>
/// Summary description for News
/// </summary>
public class News
{
    private System.Int32 news_id;
    private System.Boolean news_status;
    private System.String news_title;
    private System.String news_content;
    private System.String news_image;
    private System.Int32 news_hit;
    private System.Int32 cate_id;
    private System.String news_intro;
    private System.DateTime news_createdate;
    private System.String news_source;
	public News()
    {
        news_id = int.MinValue;
        news_status = false;
        news_title = string.Empty;
        news_content = string.Empty;
        news_image = string.Empty;
        news_hit = int.MinValue;
        cate_id = int.MinValue;
        news_intro = string.Empty;
        news_createdate = DateTime.MinValue;
        news_source = string.Empty;
	}
    #region Public properties

    public System.Int32 News_ID
    {

        get
        {
            return news_id;
        }
        set
        {
            news_id = value;
        }

    }
    public System.Boolean News_Status
    {

        get
        {
            return news_status;
        }
        set
        {
            news_status = value;
        }

    }
    public System.String News_Title
    {

        get
        {
            return news_title;
        }
        set
        {
            news_title = value;
        }

    }
    public System.String News_Content
    {

        get
        {
            return news_content;
        }
        set
        {
            news_content = value;
        }

    }
    public System.String News_Image
    {

        get
        {
            return news_image;
        }
        set
        {
            news_image = value;
        }

    }
    public System.Int32 News_Hit
    {

        get
        {
            return news_hit;
        }
        set
        {
            news_hit = value;
        }

    }
    public System.Int32 Cate_ID
    {

        get
        {
            return cate_id;
        }
        set
        {
            cate_id = value;
        }

    }
    public System.String News_Intro
    {

        get
        {
            return news_intro;
        }
        set
        {
            news_intro = value;
        }

    }
    public System.DateTime News_CreateDate
    {

        get
        {
            return news_createdate;
        }
        set
        {
            news_createdate = value;
        }

    }
    public System.String News_Source
    {

        get
        {
            return news_source;
        }
        set
        {
            news_source = value;
        }

    }
    #endregion

}
